/*
 * @(#)DeprecatedTaglet.java 1.4 03/12/19
 * 
 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. SUN
 * PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.sun.tools.doclets.internal.toolkit.taglets;

import com.sun.javadoc.*;

/**
 * A taglet that represents the &#64;deprecated tag.
 * 
 * This code is not part of an API. It is implementation that is subject to
 * change. Do not use it as an API
 * 
 * @author Jamie Ho
 * @since 1.5
 */

public class DeprecatedTaglet extends BaseTaglet {
	
	public DeprecatedTaglet() {
		name = "deprecated";
	}
	
	/**
	 * {@inheritDoc}
	 */
	public boolean inPackage() {
		return false;
	}
	
	/**
	 * {@inheritDoc}
	 */
	public TagletOutput getTagletOutput(Doc holder, TagletWriter writer) {
		return writer.deprecatedTagOutput(holder);
	}
}
